Skip to content

Upgrade compliance BinSkim scanner to 4.4.9 - #8579

Merged
Stella Huang (StellaHuang95) merged 1 commit into
mainfrom
upgrade-binskim-4.4.9
Jul 20, 2026
Merged

Upgrade compliance BinSkim scanner to 4.4.9#8579
Stella Huang (StellaHuang95) merged 1 commit into
mainfrom
upgrade-binskim-4.4.9

Conversation

@StellaHuang95

Copy link
Copy Markdown
Contributor

Summary

  • Pin the standalone PTVS-Compliance pipeline to BinSkim scanner version 4.4.9.
  • Keep the Azure DevOps task at BinSkim@4; only the scanner binary version changes.

Context

BinSkim scanner version 1.9.5 is deprecated on July 30, 2026 because it includes a vulnerable msdia140.dll. PTVS-Compliance invokes the Guardian BinSkim task directly rather than through 1ES Pipeline Templates, so this pipeline requires an explicit upgrade.

The July 20 PTVS-Compliance run 26201.1 (build 14704086) confirmed that the current unpinned configuration resolves Latest to the deprecated scanner:

Installed Microsoft.CodeAnalysis.BinSkim 1.9.5
Running BinSkim 1.9.5

The installed BinSkim@4.289.0 task represents a custom scanner version with toolVersion: Exact and the companion exactToolVersion input, so this PR uses that supported form to select 4.4.9.

The primary azure-pipelines.yml pipeline is unpinned and uses 1ES Pipeline Templates, so it does not require the same change.

Validation

  • Confirmed the DevDiv BinSkim@4.289.0 task schema supports Exact plus exactToolVersion.
  • Confirmed BinSkim 4.4.9 is present in the Guardian internal feed.
  • Confirmed the YAML has no editor/schema diagnostics.
  • Verified the branch diff contains only the two scanner-version inputs.

The next compliance run should report Running BinSkim 4.4.9 in the BinSkim task log.

Pin the standalone compliance pipeline to BinSkim scanner version 4.4.9 using the task's Exact version inputs. This avoids the deprecated 1.9.5 default without changing the BinSkim task version.
@StellaHuang95
Stella Huang (StellaHuang95) requested a review from a team as a code owner July 20, 2026 22:57
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@sonarqubecloud

Copy link
Copy Markdown

@heejaechang

Copy link
Copy Markdown

🔒 Automated review in progress — Heejae Chang (@heejaechang) is auto-reviewing this PR.

@StellaHuang95

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

@StellaHuang95
Stella Huang (StellaHuang95) merged commit 6d30bd6 into main Jul 20, 2026
7 checks passed
@StellaHuang95
Stella Huang (StellaHuang95) deleted the upgrade-binskim-4.4.9 branch July 20, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants